<form action="{:U('storeUpdate')}" method="POST" class="withdraw-update-form">
  <div class="boxpage-div">
    <div class="boxpage-line">
      <label class="fl">提现店铺：</label>
      <div class="fl">{:store_name($data['store_id'])}</div>
    </div>
    <div class="boxpage-line">
      <label class="fl">提现银行：</label>
      <div class="fl">{$data.bank_name}</div>
    </div>
    <div class="boxpage-line">
      <label class="fl">提现账户：</label>
      <div class="fl">{$data.bank_account}</div>
    </div>
    <div class="boxpage-line">
      <label class="fl">提现金额：</label>
      <div class="fl">{$data.amount}</div>
    </div>
    <div class="boxpage-line">
      <label class="fl">申请时间：</label>
      <div class="fl">{$data.create_time|time_format}</div>
    </div>
    <div class="boxpage-line">
      <label class="fl">当前状态：</label>
      <div class="fl">{$data.status||get_store_withdraw_text}</div>
    </div>
    <div class="boxpage-line">
      <label class="fl">新的状态：</label>
      <div class="fl">
        <select name="status">
          <option value="">请选择状态</option>
          <switch name="data.status">
            <case value="1">
              <option value="101">管理员拒绝</option>
              <option value="200">已提交银行处理</option>
              <option value="201">银行拒绝</option>
              <option value="300">提现成功</option>
            </case>
            <case value="2">
            </case>
            <case value="3">
              <option value="201">银行拒绝</option>
              <option value="300">提现成功</option>
            </case>
            <default />
              <volist name="status" id="vo">
                <option value="{$key}">{$vo}</option>
              </volist>
          </switch>
        </select>
      </div>
    </div>
    <div class="boxpage-line hidden J_memo">
      <label class="fl">拒绝原因：</label>
      <div class="fl">
        <input type="text" name="remark" class="text input-large" value="{$data.remark}">
      </div>
    </div>
    <div class="boxpage-line hidden J_fee">
      <label class="fl">手续费：</label>
      <div class="fl">
        <input type="text" name="fee" class="text input-large" value="{$data.fee}">
      </div>
    </div>
    <div class="boxpage-line boxpage-menu">
      <input type="hidden" value="{$data.id}" name="id"/>
      <button class="btn ajax-post" data-target-form="withdraw-update-form">提交</button>
    </div>
  </div>
</form>
<script>
  ajaxpost.init('.withdraw-update-form');
  //Core.setValue('status', '{$data.status|default=""}');
  withdraw.init();
</script>

